var express = require('express');
var roleController = require('../controllers/roleController');
var router = express.Router();

/* GET roles listing. */
router.get('/adminapi/roles', roleController.getList);

router.put('/adminapi/roles/:id', roleController.update);

router.delete('/adminapi/roles', roleController.delete);

module.exports = router;